* {
  box-sizing: border-box;
}

@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Regular.ttf");
}
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "Poppins", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to right, #4cbbb9, #0779e4, #77d8d8);
  overflow: hidden;
}

input {
  font-family: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 0;
  border-bottom: 1px solid #AAAAAA;
  font-size: 16px;
  color: #000;
  border-radius: 0;
}

input[type=text],
input[type=password] {
  width: 100%;
  height: 40px;
  order: 2;
}

button,
input:focus {
  outline: 0;
}

::-webkit-input-placeholder {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: -0.00933333em;
}

.form-group {
  position: relative;
  padding-top: 15px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
}

#email {
  order: 1;
}

#password {
  order: 1;
}

label {
  position: absolute;
  top: 0;
  left: 1;
  opacity: 1;
  transform: translateY(5px);
  color: #aaa;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: -0.00933333em;
  transition: all 0.2s ease-out;
  order: 2;
}

input:-moz-placeholder + label {
  opacity: 0;
  transform: translateY(15px);
}

input:placeholder-shown + label {
  opacity: 0;
  transform: translateY(15px);
}

.h1 {
  color: white;
  font-size: 25px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2405em;
  transition: all 770ms cubic-bezier(0.51, 0.04, 0.12, 0.99);
  text-align: center;
  cursor: pointer;
  position: absolute;
  order: 2;
  align-self: center;
  background-color: transparent;
  background: #154d81;
  border: none;
  border-radius: 50px 50px;
  height: 55px;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 100px;
}

.h1 :hover {
  text-decoration: underline;
}

.h1-title {
  color: #154d81;
  font-size: 28px;
  font-weight: bolder !important;
  text-transform: uppercase;
  letter-spacing: 0.2405em;
  transition: all 770ms cubic-bezier(0.51, 0.04, 0.12, 0.99);
  text-align: center;
  position: absolute;
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.h1-bottom {
  color: #154d81;
  font-size: 30px;
  font-weight: bolder;
  text-transform: uppercase;
  letter-spacing: 0.2405em;
  transition: all 770ms cubic-bezier(0.51, 0.04, 0.12, 0.99);
  text-align: center;
  position: absolute;
  order: 1;
  align-self: flex-end;
  padding-bottom: 25px;
}

.h1-sge_delivery {
  width: 20%;
  height: 20%;
  -o-object-fit: cover;
     object-fit: cover;
  margin-top: -30px;
}

.open .h1 {
  transform: translateX(200px) translateZ(0);
}

.open .h1-sge_delivery {
  transform: translateX(0px) translateZ(0);
}

.open .h1-title {
  transform: translateX(200px) translateZ(0);
}

.open .h1-bottom {
  transform: translateX(200px) translateZ(0);
}

.h2 {
  color: #000;
  font-size: 18px;
  letter-spacing: -0.00933333em;
  font-weight: 600;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.login-wrapper {
  width: 100%;
  height: 100%;
  background-color: #fff;
  box-shadow: 0px 2px 50px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.login-left {
  width: 100%;
  height: 100%;
  transition: all 770ms cubic-bezier(0.51, 0.04, 0.12, 0.99);
  overflow: hidden;
  display: flex;
  justify-content: space-around;
}

.login-left .fondo-login {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
  transition: all 770ms cubic-bezier(0.51, 0.04, 0.12, 0.99);
  -o-object-position: left;
  object-position: left;
  opacity: 0.5;
  background: linear-gradient(0deg, rgba(97, 106, 207, 0.197), rgba(79, 139, 160, 0.278)), url("/images/fondo.jpg") no-repeat center center fixed;
  background-size: cover;
}

.open .login-left img {
  transform: translateX(280px) translateZ(0);
}

.open .login-left .h1-sge_delivery {
  transform: translateX(0px) translateZ(0);
}

.open .login-left {
  transform: translateX(-400px) translateZ(0);
}

.login-right {
  padding: 20px 40px;
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  transform: translateX(400px) translateZ(0);
  transition: all 770ms cubic-bezier(0.51, 0.04, 0.12, 0.99);
  order: 1;
}

.open .login-right {
  transform: translateX(0px) translateZ(0);
}

.button-area {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  flex-direction: row;
}

.btn {
  font-family: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: transparent;
  border: none;
  border-radius: 5px;
  height: 40px;
  cursor: pointer;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: -0.00933333em;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(198.08deg, #4cbbb9 45.34%, #77d8d8 224.21%);
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  width: 80%;
}

.btn-danger {
  color: #fff;
  background: linear-gradient(198.08deg, #eb6383 45.34%, #fa9191 224.21%);
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  width: 80%;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sign-up {
  text-align: center;
  margin-top: 10px;
  font-size: 15px !important;
}

.login-right-bottom {
  margin-top: 20px;
  display: flex;
  order: 2;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.errors {
  align-self: flex-end;
  color: #ef5350;
}

.copyright {
  margin-bottom: 10px;
}

@media (max-width: 430px) {
  .h1 {
    margin-top: 135px;
  }
  .h1-title {
    font-size: 24px;
    letter-spacing: 3px;
    margin-top: -10px;
  }
  .h1-sge_delivery {
    margin-top: 5vh;
  }
  .h1-bottom {
    font-size: 25px;
    letter-spacing: 4px;
  }
}
@media (min-width: 720px) {
  .h1 {
    margin-top: 60vh;
  }
  .h1-title {
    margin-top: 10vh;
    font-size: 30px;
  }
  .h1-sge_delivery {
    margin-top: 0vh;
    width: 20%;
    height: 20%;
  }
  .close {
    margin-left: 10px;
  }
  .h1-bottom {
    margin-bottom: 5vh !important;
    font-size: 30px;
  }
}
@media (min-width: 1400px) {
  .h1 {
    margin-top: 25vh;
  }
  .h1-title {
    margin-top: 10vh;
    font-size: 34px;
  }
  .h1-sge_delivery {
    margin-top: 5vh;
  }
  .h1-bottom {
    margin-bottom: 5vh !important;
    font-size: 34px;
  }
}
